<template>
  <div id="security">
    <span class="title"
      ><div>账号安全</div>
      <div></div
    ></span>
    <div class="f1">
      <div class="title-1">账号登录方式</div>
      <div class="title-2">您可以使用邮箱、手机号或绑定的第三方账号登录</div>
      <div class="items">
        <img src="../assets/手机.png" alt="" />
        <div>
          <div>
            <div>手机号</div>
            <div>未绑定</div>
          </div>
          <div>绑定</div>
        </div>
      </div>
      <div class="items">
        <img src="../assets/邮箱.png" alt="" />
        <div>
          <div>
            <div>邮箱账号</div>
            <div>ikunxiaoheizi@163.com</div>
          </div>
          <div>已绑定</div>
        </div>
      </div>
      <div class="items">
        <img src="../assets/微信.png" alt="" />
        <div>
          <div>
            <div>微信账号</div>
            <div>未绑定</div>
          </div>
          <div>绑定</div>
        </div>
      </div>
    </div>
    <div class="f2">
      <div class="title-1">安全中心</div>
      <div class="title-2">有助于保护您的帐号安全</div>
      <div class="items">
        <img src="../assets/loginRed.png" alt="" />
        <div>
          <div>
            <div>登录密码</div>
            <div>互联网账号存在被盗风险，建议您定期更改密码以保护账户安全</div>
          </div>
          <div>修改</div>
        </div>
      </div>
      <div class="items">
        <img src="../assets/PayYellow.png" alt="" />
        <div>
          <div>
            <div>支付密码</div>
            <div>
              使用KoKo余额支付时需要输入的密码，设置支付密码以保障支付安全
            </div>
          </div>
          <div>设置</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
#security {
  width: 1000px;
  margin-left: 30px;
  padding: 20px;
  background-color: #f7f7f7;
  border-radius: 15px;
  box-sizing: border-box;

  > .title {
    color: #ff6e6e;
    display: flex;
    // margin-bottom: 30px;

    > div:first-child {
      padding: 0 15px 10px 15px;
      font-weight: bold;
      // font-size: 20px;
      border-bottom: 3px solid #ff6e6e;
    }
  }

  > .f1,
  .f2 {
    padding: 25px;
    box-sizing: border-box;

    > .title-1 {
      font-size: 14px;
      margin-bottom: 15px;
    }

    > .title-2 {
      font-size: 12px;
      color: #999999;
      margin-bottom: 15px;
    }

    > .items {
      display: flex;
      width: 100%;

      align-items: center;
      margin-bottom: 20px;

      > img {
        width: 40px;
        margin-right: 20px;
      }

      > div {
        height: 60px;
        padding: 10px 0;
        padding-right: 20px;
        display: flex;
        flex: 1 0;
        justify-content: space-between;
        box-sizing: border-box;
        border-bottom: 1px solid black;

        > div:first-child {
          height: 40px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          font-size: 12px;
        }

        > div:last-child {
          color: #fff;
          background-color: #f84b4b;
          border-radius: 15px;
          text-align: center;
          line-height: 40px;
          width: 100px;
        }
      }
    }
  }
}
</style>